package com.creditharmony.car.loan.service;

import com.creditharmony.car.common.base.service.BaseService;
import com.creditharmony.car.common.common.vo.requestvo.CarLoanCustomerRequestVo;
import com.creditharmony.car.common.common.vo.responsevo.CarLoanCustomerResponseVo;
import com.creditharmony.car.loan.entity.CarLoanCustomerEntity;

/**
 * 借款客户
 * @Class Name CarLoanCustomerService
 * @author zqa
 * @Create In 2018年1月26日
 */
public interface CarLoanCustomerService extends BaseService<CarLoanCustomerEntity>{
    /**
     * 客户个人信息录入.
     * 
     * @param requestVo 请求参数(客户个人信息)
     */
    public void insertCarCustomer(CarLoanCustomerRequestVo requestVo);

    /**
     * 获取单条数据
     * @param loanCode 借款编号
     * @return 客户个人信息查询结果
     */
    public CarLoanCustomerResponseVo selectByLoanCode(String loanCode);

    /**
     * 更新客户个人信息
     * @param requestVo 请求参数(客户个人信息数据)
     */
    public void updateCarLoanCustomer(CarLoanCustomerRequestVo requestVo);
}
